import $axios from "@/unil/index.js";

export function usergetToolList() {
    return $axios.get("/sysUser/list");
  }

  export function insertgetToolList(data) {
    return $axios.post("/sysUser/insert",data);
  }

  export function updategetToolList(data) {
    return $axios.post("/sysUser/update", data );
  }
  export function deletegetToolList(id) {
    return $axios.post("/sysUser/delete",{ id });
  }
  export function editGetToolList(userDate) {
    console.log("userDate", userDate);
    return $axios.post("/sysUser/updatePw", userDate );
  }